/**
 * Created by tang on 2018/12/10.
 */
import request from '@/utils/request';

//一级分类列表
export async function  postList(params) {
  return request('/admin/property/classify/list', {
    method: 'POST',
    body: params
  });
}


//二级分类列表
export async function  postListSecond(params) {
  return request('/admin/property/classify/child', {
    method: 'POST',
    body: params
  });
}

//删除
export async function  postDel(params) {
  return request('/admin/property/classify/del', {
    method: 'POST',
    body: params
  });
}

//添加
export async function  postAdd(params) {
  return request('/admin/property/classify/add', {
    method: 'POST',
    body: params
  });
}

//修改
export async function  postUpdate(params) {
  return request('/admin/property/classify/update', {
    method: 'POST',
    body: params
  });
}

//get
export async function  postGet(params) {
  return request('/admin/property/get', {
    method: 'POST',
    body: params
  });
}
